<!DOCTYPE HTML>
<html>

	<head>
		<meta charset="utf-8">
		<meta name="renderer" content="webkit|ie-comp|ie-stand">
		<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
		<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
		<meta http-equiv="Cache-Control" content="no-siteapp" />
		<!--[if lt IE 9]>
    <script type="text/javascript" src="../../lib/html5shiv.js?rev=@@hash"></script>
    <script type="text/javascript" src="../../lib/respond.min.js?rev=@@hash"></script>
    <![endif]-->
		<link rel="stylesheet" type="text/css" href="../../../static/h-ui/css/H-ui.min.css" />
		<link rel="stylesheet" type="text/css" href="../../../static/h-ui.admin/css/H-ui.admin.css" />
		<link rel="stylesheet" type="text/css" href="../../../lib/Hui-iconfont/1.0.8/iconfont.css" />
		<!--引入分页-->
		<link rel="stylesheet" href="../../../lib/pagination/pagination.css">
		<link rel="stylesheet" type="text/css" href="../../../lib/Validform/5.3.2/style.css" />
		<link rel="stylesheet" type="text/css" href="../../../static/h-ui.admin/skin/default/skin.css" id="skin" />
		<link rel="stylesheet" type="text/css" href="../../../static/h-ui.admin/css/style.css" />
		<link rel="stylesheet" type="text/css" href="../../../ht-css/Project.css" />
        <link rel="stylesheet" type="text/css" href="../../../ht-css/jedate.css" />
        <link rel="stylesheet" type="text/css" href="../../../ht-css/commodity/commoditycss.css" />
		<!--[if IE 6]>
    <script type="text/javascript" src="../../lib/DD_belatedPNG_0.0.8a-min.js" ></script>
    <script>DD_belatedPNG.fix('*');</script>
    <![endif]-->
		<link rel="stylesheet" type="text/css" href="../../../ht-css/style-q.css" />
	</head>
	<body data-id="38">
    <nav class="breadcrumb"><i class="Hui-iconfont">&#xe67f;</i> 首页  <span class="c-gray en">&gt;</span>品牌官网配置 <span class="c-gray en">&gt;</span> 产品管理<span class="c-gray en">&gt;</span> 产品详情页<a class="btn btn-success radius r" style="line-height:1.6em;margin-top:3px" href="javascript:location.replace(location.href);" title="刷新" ><i class="Hui-iconfont">&#xe68f;</i></a></nav>

    <article class="page-container">
            <form class="ml-20 mr-20" id="form-member-add">
                <div class="bk-gray bg-1 pt-20">
                    <table class="table table_li">
                        <tbody>
                        <tr>
                            <td>
                                <div class="row ml-10 clearfix ">
                                    <label class="f-l lh-26 w-200 text-r"><span class="c-red pr-5">*</span><span>网站名称：</span></label>
                                    <span class="select-box size-M radius col-xs-8 f-l ml-10" style="width:20%">
                                        <select class="select" id="websiteId" name="websiteId" onchange="classa()" size="1" >
                                        </select>
                                    </span>
                                </div>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <div class="row ml-10 clearfix ">
                                    <label class="f-l lh-26 w-200 text-r"><span class="c-red pr-5">*</span><span>商品名称：</span></label>
                                    <input  name="lotteryAfterName" id="productName"  type="text" class="input-text f-l w-260 radius ml-10"
                                           placeholder="" autocomplete="off"  maxlength="50">
                                </div>
                            </td>
        
                        </tr>
              
                        <tr>
                            <td>
                                <div class="row ml-10 clearfix">
                                    <label class="f-l lh-26 w-200 text-r"><span class="c-red pr-5">*</span><span>产品主图：</span></label><br>
                                    <br>
                                    <div style="float:left;margin: 0 30px 0 206px;width: 122px;height: 122px;" class=" pic_up"><img title=""  width="112" height="112" src="" id="myImsg"></div>
                                      <div style="float:left;">
                                         <span>

                                            <input id="fileUpone" type="file" style="display: none"  onchange="putDataToPage(event,this,1)" accept=".jpg,.png,.jpeg"  name="file"  class="fileupmoban">
                                            <a class="btn btn-secondary radius size-S  fileupone" onclick="addBtn(this)" id="fileupones" style="line-height: 17px;">图片上传</a>
                                            <a class="btn btn-secondary radius size-S  deletfile" style="line-height: 17px;" onclick="deletfilefns(this)">图片删除</a>
                                     </span>
                                      </div>
                                </div>
                                <div>
                                    <span style="margin-left: -737px;">*限制尺寸182*182；限制大小1M</span>
                                </div>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <div class="row ml-10 clearfix">
                                    <label class="f-l lh-26 w-200 text-r"><span class="c-red pr-5">*</span><span>选择所属分类：</span></label>
                                
                                        <div class="class-wp27 f-l" style="margin-top: -21px;margin-left: 10px;">
                                            <div class="pd-5"><strong>一级类目设置</strong></div>
                                            <ul class="bk-gray pt-5" id="classSet1" style=" overflow-x: hidden;">

                                            </ul>
                                        </div>
                                        <div class="class-wp27 f-l"id="classDiv2" style="margin-top: -21px;">
                                            <div class="pd-5"><strong>二级类目设置</strong></div>
                                            <ul class="bk-gray pt-5" id="classSet2" style=" overflow-x: hidden;">

                                            </ul>
                                        </div>
                                  
                                   
                                </div>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <div class="row ml-10 clearfix">
                                    <label class="f-l lh-26 w-200 text-r"><span class="c-red pr-5">*</span><span>商品详情编辑：</span></label>
                                    <div id="editor" class="formControls col-sm-9">
                                    </div>
                                </div>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <div class="row ml-10 clearfix">
                                    <label class="f-l w-200 text-r"><span>购买渠道配置：</span></label>
                                    <div class="class-wp80 f-l" style="margin-top: 40px;">
                                    <div class="chanelbox">
                                        <div class="fsyuncai_box">
                                            <div class="fs_lftname">方盛云采</div>
                                            <span class="fsurl">
                                                <div class="fs_url">url配置：</div>
                                                <input  class="input-text f-l w-300 radius" id="buyUrl1"  data-id="1" placeholder="" autocomplete="off">
                                            </span>
                                            <span class="fs_right">
                                               
                                                <div style="width: 122px;height: 122px;margin-top: 37px;" class=" pic_up">
                                                    <span class="fs_img">配图：</span>
                                                    <img title="" width="112" height="112" src="" id="myImg1"></div>
                                                  <span>

                                                <input id="fileUpone1" type="file" style="display: none"  onchange="putDataToPage(event,this,2)" accept=".jpg,.png,.jpeg,.gif"  name="file"  class="fileupmoban">
                                                <a class="btn btn-secondary radius size-S  fileupone"  onclick="addBtn(this)" id="fileupones1" style="line-height: 17px;margin-top: 46px;">图片上传</a>
                                                <a class="btn btn-secondary radius size-S  deletfile" style="line-height: 17px;margin-top: 46px;" onclick="deletfilefns(this)">图片删除</a>
                                           <br>
                                            <span >*限制尺寸68*55；限制大小1M</span>
                                                  </span>

                                            </span>
                                        </div>
                                        <div class="fsyuncai_box">
                                            <div class="fs_lftname ">渠道2</div>
                                            <span class="fsurl">
                                                <div class="fs_url">url配置：</div>
                                                <input  class="input-text f-l w-300 radius"  id="buyUrl2" data-id="2" placeholder="" autocomplete="off" >
                                            </span>
                                            <span class="fs_right">
                                               
                                                <div style="width: 122px;height: 122px;margin-top: 37px;" class=" pic_up">
                                                    <span class="fs_img">配图：</span>
                                                    <img title="" width="112" height="112" src="" id="myImg2"></div>
                                                  <span>

                                                    <input id="fileUpone2" type="file" style="display: none"  onchange="putDataToPage(event,this,2)" accept=".jpg,.png,.jpeg,.gif"  name="file"  class="fileupmoban">
                                                    <a class="btn btn-secondary radius size-S  fileupone" onclick="addBtn(this)" id="fileupones2" style="line-height: 17px;margin-top: 46px;">图片上传</a>
                                                    <a class="btn btn-secondary radius size-S  deletfile" style="line-height: 17px;margin-top: 46px;" onclick="deletfilefns(this)">图片删除</a>
                                                </span>
                                                 <br>
                                            <span >*限制尺寸68*55；限制大小1M</span>
                                            </span>
                                        </div>
                                        <div class="fsyuncai_box">
                                            <div class="fs_lftname">渠道3</div>
                                            <span class="fsurl">
                                                <div class="fs_url">url配置：</div>
                                                <input  class="input-text f-l w-300 radius" id="buyUrl3" data-id="3"  placeholder="" autocomplete="off">
                                            </span>
                                            <span class="fs_right">
                                               
                                                <div style="width: 122px;height: 122px;margin-top: 37px;" class=" pic_up">
                                                    <span class="fs_img">配图：</span>
                                                    <img title="" width="112" height="112" src="" id="myImg3"></div>
                                                  <span>

                                            <input id="fileUpone3" type="file" style="display: none"  onchange="putDataToPage(event,this,2)" accept=".jpg,.png,.jpeg,.gif"  name="file"  class="fileupmoban">
                                            <a class="btn btn-secondary radius size-S  fileupone" onclick="addBtn(this)" id="fileupones3" style="line-height: 17px;margin-top: 46px;">图片上传</a>
                                            <a class="btn btn-secondary radius size-S  deletfile" style="line-height: 17px;margin-top: 46px;" onclick="deletfilefns(this)">图片删除</a>
                                      <br>
                                            <span >*限制尺寸68*55；限制大小1M</span>
                                                  </span>
                                            </span>
                                        </div>
                                        <div class="fsyuncai_box">
                                            <div class="fs_lftname">渠道4</div>
                                            <span class="fsurl">
                                                <div class="fs_url">url配置：</div>
                                                <input  class="input-text f-l w-300 radius" id="buyUrl4" data-id="4"  placeholder="" autocomplete="off">
                                            </span>
                                            <span class="fs_right">
                                               
                                                <div style="width: 122px;height: 122px;margin-top: 37px;" class=" pic_up">
                                                    <span class="fs_img">配图：</span>
                                                    <img title="" width="112" height="112" src="" id="myImg4"></div>
                                                  <span>

                                            <input id="fileUpone4" type="file" style="display: none"  onchange="putDataToPage(event,this,2)" accept=".jpg,.png,.jpeg,.gif"  name="file"  class="fileupmoban">
                                            <a class="btn btn-secondary radius size-S  fileupone" onclick="addBtn(this)" id="fileupones4" style="line-height: 17px;margin-top: 46px;">图片上传</a>
                                            <a class="btn btn-secondary radius size-S  deletfile" style="line-height: 17px;margin-top: 46px;" onclick="deletfilefns(this)">图片删除</a>
                                     <br>
                                            <span >*限制尺寸68*55；限制大小1M</span>
                                     </span>
                                            </span>
                                        </div>
                                        <div class="fsyuncai_box">
                                            <div class="fs_lftname">渠道5</div>
                                            <span class="fsurl">
                                                <div class="fs_url">url配置：</div>
                                                <input  class="input-text f-l w-300 radius" id="buyUrl5"  data-id="5" placeholder="" autocomplete="off">
                                            </span>
                                            <span class="fs_right">
                                               
                                                <div style="width: 122px;height: 122px;margin-top: 37px;" class=" pic_up">
                                                    <span class="fs_img">配图：</span>
                                                    <img title="" width="112" height="112" src="" id="myImg5"></div>
                                                  <span>

                                            <input id="fileUpone5" type="file" style="display: none"  onchange="putDataToPage(event,this,2)" accept=".jpg,.png,.jpeg,.gif"  name="file"  class="fileupmoban">
                                            <a class="btn btn-secondary radius size-S  fileupone" onclick="addBtn(this)" id="fileupones5" style="line-height: 17px;margin-top: 46px;">图片上传</a>
                                            <a class="btn btn-secondary radius size-S  deletfile" style="line-height: 17px;margin-top: 46px;" onclick="deletfilefns(this)">图片删除</a>

                                        <br>
                                            <span >*限制尺寸68*55；限制大小1M</span> </span>
                                            </span>
                                        </div>
                                    </div>
                                </div>
                            </div>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <div class="row ml-10 clearfix ">
                                    <label class="f-l lh-26 w-200 text-r"><span class="c-red pr-5">*</span><span>TDK设置：</span></label>
                                    <div class="tdk_box">
                                    <div class="tdk_title" style="margin-left: -37px;">Title:</div>
                                    <textarea  id="pageTitle" rows="3"  cols="20" class="input-text f-l" style="width: 600px; height: 100px;" maxlength="300"></textarea>
                                </div>
                            </div>
                            </td>
        
                        </tr>
                        <tr>
                            <td>
                                <div class="row ml-10 clearfix ">
                                    <label class="f-l lh-26 w-200 text-r"><span class="c-red pr-5"></span><span></span></label>
                                    <div class="tdk_box">
                                    <div class="tdk_title">Description:</div>
                                    <textarea  id="pageDescription" rows="3"  cols="20" class="input-text f-l" style="width: 600px; height: 100px;" maxlength="300"></textarea>
                                </div>
                            </div>
                            </td>
        
                        </tr>
                        <tr>
                            <td>
                                <div class="row ml-10 clearfix ">
                                    <label class="f-l lh-26 w-200 text-r"><span class="c-red pr-5"></span><span></span></label>
                                    <div class="tdk_box">
                                    <div class="tdk_title">Keywords:</div>
                                    <textarea  id="pageKeywords" rows="3"  cols="20" class="input-text f-l" style="width: 600px; height: 100px;" maxlength="300"></textarea>
                                </div>
                            </div>
                            </td>
        
                        </tr>
                        <input id="TDKid" style="display: none">
                        </tbody>
                    </table>

                    <div class="text-c" style="margin-top: 70px;">
                        <input type="button" onclick="commoditydetailadd()" style="margin-left: 47px;" value="确认" class="btn btn-secondary size-S radius">
                        <input type="button" onclick="cancelBtn()" style="margin-left: 48px;" value="取消" class="btn btn-secondary size-S radius">
                    </div>
                </div>
        
            </form>
        </article>
		<!--_footer 作为公共模版分离出去-->
		<script type="text/javascript" src="../../../lib/jquery/1.9.1/jquery.min.js?rev=@@hash"></script>
		<script type="text/javascript" src="../../../lib/layer/2.4/layer.js?rev=@@hash"></script>
		<script type="text/javascript" src="../../../static/h-ui/js/H-ui.min.js?rev=@@hash"></script>
		<script type="text/javascript" src="../../../static/h-ui.admin/js/H-ui.admin.js?rev=@@hash"></script>
		<!--/_footer 作为公共模版分离出去-->
		<!--请在下方写此页面业务相关的脚本-->
		<script type="text/javascript" src="../../../lib/jquery.jedate.min.js?rev=@@hash"></script>
		<script type="text/javascript" src="../../../lib/My97DatePicker/4.8/WdatePicker.js?rev=@@hash"></script>
		<!--表单验证-->
		<script type="text/javascript" src="../../../lib/jquery.validation/1.14.0/jquery.validate.js?rev=@@hash"></script>
		<script type="text/javascript" src="../../../lib/jquery.validation/1.14.0/validate-methods.js?rev=@@hash"></script>
		<script type="text/javascript" src="../../../lib/jquery.validation/1.14.0/messages_zh.js?rev=@@hash"></script>
		<script type="text/javascript" src="../../../lib/Validform/5.3.2/Validform_v5.3.2_min.js?rev=@@hash"></script>
		<script src="../../../lib/pagination/jquery.pagination.js?rev=@@hash"></script>
		<script type="text/javascript" src="../../../lib/datatables/1.10.0/jquery.dataTables.min.js?rev=@@hash"></script>
		<script type="text/javascript" src="../../../lib/laypage/1.2/laypage.js?rev=@@hash"></script>
		<script src="../../../ht-js/public.js?rev=@@hash"></script>
    <!--验证token-->
    <script src="../../../ht-js/verifyToken.js?rev=@@hash"></script>
		<script src="../../../ht-js/Project.js?rev=@@hash"></script>
		<script type="text/javascript" src="../../../ht-js/frame/doT.min.js?rev=@@hash"></script>
        <script type="text/javascript" src="../../../ht-js/power.js?rev=@@hash"></script>
        <script type="text/javascript" charset="utf-8" src="../../../ht-js/operation-js/ueditor/ueditor.config.js?rev=@@hash"></script>
        <script type="text/javascript" charset="utf-8" src="../../../ht-js/operation-js/ueditor/ueditor.all.min.js?rev=@@hash"></script>
        <script type="text/javascript" src="../../../ht-js/brandWebsite/productManagement/commoditydetail.js?rev=@@hash"></script>
        <script>
         var ue = UE.getEditor('editor',{
        enterTag:'' ,
        autoHeightEnabled: true,
        autoFloatEnabled: true,
        initialFrameWidth: 750,
        initialFrameHeight:400
    });
         function cancelBtn() {
             var cu = layer.confirm('<span>是否不保存直接退出？</span>', {title:'提示',btn: ['确认', '取消']}, function(index){
                 parent.layer.closeAll();
                 layer.close(cu);
             },function(){
                 layer.close(cu);

             });

         }


    UE.Editor.prototype._bkGetActionUrl = UE.Editor.prototype.getActionUrl;
    UE.Editor.prototype.getActionUrl = function(action) {
        if (action == 'uploadimage' || action == 'uploadvideo' || action == 'uploadfile' ) {
            return root.sroreinter.ueditor; //在这里返回我们实际的上传图片地址
        } else {
            return this._bkGetActionUrl.call(this, action);
        }
    }
        </script>
	</body>

</html>